package com.jiajia;

/**
 *
 * demo for  stack error : StackOverflowError
 *
 * 默认配置 ：11435
 * -Xss256k : 2526
 *
 * 设置stack size
 *
 * @author zjiajia
 * @date 2022/4/12 20:06
 */
public class demo01 {
    public static Integer num = 0;

    public static void main(String[] args) {

        System.out.println(num);
        num++;
        main(args);
    }
}
